package com.cl.park.model;

import java.sql.Timestamp;
import java.util.Date;

/**
 * Park entity. @author MyEclipse Persistence Tools
 */

public class Park implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private Integer car;
	private Integer type;
	private Integer floor;
	private Integer state;
	private Date time;

	// Constructors

	/** default constructor */
	public Park() {
	}

	/** full constructor */
	public Park(String name, Integer car, Integer type, Integer floor,
			Integer state, Timestamp time) {
		this.name = name;
		this.car = car;
		this.type = type;
		this.floor = floor;
		this.state = state;
		this.time = time;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getCar() {
		return this.car;
	}

	public void setCar(Integer car) {
		this.car = car;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getFloor() {
		return this.floor;
	}

	public void setFloor(Integer floor) {
		this.floor = floor;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getTime() {
		return this.time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

}